// 按需全局引入 vant组件
import Vue from 'vue'
import {
  Button,
  List,
  Cell,
  Tabbar,
  TabbarItem,
  Search,
  Swipe,
  SwipeItem,
  Grid,
  GridItem,
  Icon,
  Col,
  Row,
  Tab,
  Tabs,
  Card,
  Image as VanImage,
  Divider,
  Lazyload,
  ShareSheet,
  ActionSheet,
  Collapse,
  CollapseItem,
  SubmitBar,
  Form,
  Field,
  CellGroup,
  Checkbox,
  CheckboxGroup,
  RadioGroup,
  Radio,
  CountDown,
  Uploader,
  Picker,
  AddressList,
  AddressEdit,
  Dialog,
  TreeSelect,
  DropdownMenu,
  DropdownItem,
  Toast,
  Notify,
  Switch,
  Overlay,
  Loading,
  Popup,
  PullRefresh,
  Progress
} from 'vant'
Vue.use(Button)
Vue.use(Cell)
Vue.use(List)
Vue.use(Tabbar).use(TabbarItem)
Vue.use(Search)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Icon)
Vue.use(Col)
Vue.use(Row)
Vue.use(Tab)
Vue.use(Card)
Vue.use(Tabs)
Vue.use(VanImage)
Vue.use(Divider)
Vue.use(Lazyload, {
  lazyComponent: true
})
Vue.use(ShareSheet)
Vue.use(ActionSheet)
Vue.use(Collapse)
Vue.use(CollapseItem)
Vue.use(SubmitBar)
Vue.use(Field)
Vue.use(CellGroup)
Vue.use(Checkbox)
Vue.use(CheckboxGroup)
Vue.use(RadioGroup)
Vue.use(Radio)
Vue.use(CountDown)
Vue.use(Uploader)
Vue.use(Picker)
Vue.use(AddressList)
Vue.use(AddressEdit)
Vue.use(Dialog)
Vue.use(TreeSelect)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(Toast)
Vue.use(Form)
Vue.use(Notify)
Vue.use(Switch)
Vue.use(Overlay)
Vue.use(Loading)
Vue.use(Popup)
Vue.use(PullRefresh)
Vue.use(Progress)
